package com.changli07._interface.jdk8;

public interface CompareA {
//    静态属性 public static final 声明
    public static final int principle = 0;
    //静态方法
    public static void compare (){
        System.out.println("principle:睡好觉");
    }
    public default void method1(){
        System.out.println("我要吃饭");
    }
    public default void method2(){
        System.out.println("CompareA:上海");
    }

}
